package org.jeecg.modules.wlhy.hycarrier.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.wlhy.hycarrier.entity.HyZhenCarrierOrderDriver;
import org.jeecg.modules.wlhy.hyzhencarrier.entity.HyZhenCarrier;

import java.util.List;

/**
 * @Description: 承运商
 * @Author: duanlikao
 * @Date:   2020-12-01
 * @Version: V1.0
 */
public interface IHyZhenCarrierOrderDriverService extends IService<HyZhenCarrierOrderDriver> {

    boolean binding(String driverId, String zhenCarrier);
    boolean bindingOrder(String orderId, String zhenCarrier);

    //根据承运商id查询司机id
    List<String> getDriverIdListByCarrierId (String carrierId );
    //根据承运商id查询货源id
    List<String> getOrderIdListByCarrierId (String carrierId );
}
